<?php slot('bannersOnFrontpage') ?>
    <?php foreach($banners as $key=>$banner): ?>
	    <div class="picture-frame small <?php echo 'p'.($key+1); ?>" id="<?php echo 'p'.($key+1); ?>">
		    <a href="<?php echo $banner['link']; ?>"><img src="<?php echo @myPicture::getInstance( $banner->getPicture() )->thumbnail(148,193,'center')->url()  ?>" alt="<?php echo $banner['name']; ?>" /></a>
		    <p><a href="<?php echo $banner['link']; ?>"><?php echo $banner['name']; ?></a></p>
	    </div>
    <?php endforeach; ?>
<?php end_slot() ?>
